import './flex.scss';

const fragment = document.createDocumentFragment();

const ul = document.createElement('ul');

for (const i of [1, 2, 3]) {
  const li = document.createElement('li');
  li.textContent = i;
  ul.appendChild(li);
}
fragment.appendChild(ul);
document.body.appendChild(fragment);
